<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        云客客户关系管理系统
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/static/css/x-admin.css" media="all">
</head>

<div class="x-body">
    <form class="layui-form">
    <div class="layui-form-item">
        <label for="userName" class="layui-form-label">
            用户编号：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.id}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label for="userName" class="layui-form-label">
            用户名称：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.name}" >

        </div>
    </div>
    <div class="layui-form-item">
        <label for="L_pass" class="layui-form-label">
            用户密码：
        </label>
        <div class="layui-input-inline">
            <input type="password" id="L_pass"  name="password" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value="${user.password}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label for="role" class="layui-form-label">
            员工姓名：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.staffName}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label for="role" class="layui-form-label">
            部门名称：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.deptName}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label for="role" class="layui-form-label">
            职务名称：
        </label>
        <div class="layui-input-inline">
            <div class="layui-input-inline">
                <input type="text" required="" lay-verify="pass"
                       autocomplete="off" class="layui-input" style="border:none" value=" ${user.jobName}" >
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            创建日期：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.createDate?string("yyyy-MM-dd hh:mm:ss")}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            授权状态：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.useState}" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            用户角色：
        </label>
        <div class="layui-input-inline">
            <input type="text" required="" lay-verify="pass"
                   autocomplete="off" class="layui-input" style="border:none" value=" ${user.roleName}" >
        </div>
    </div>
    </form>
</div>
</body>
<script src="/static/lib/layui/layui.js" charset="utf-8">
</script>
<script src="/static/js/x-layui.js" charset="utf-8">
</script>
<script src="/static/js/vue/vue.min.js" charset="UTF-8"></script>
<script src="/static/js/jquery.min.js" charset="UTF-8"></script>
<script>
    layui.use(['form','layer'], function() {
        $ = layui.jquery;
        var form = layui.form()
                , layer = layui.layer;
        /*var app=0;
        form.on('submit(save)', function () {
                layer.alert("确定返回吗？", {icon: 6}, function () {
                    // 获得frame索引
                    var index = parent.layer.getFrameIndex(window.name);
                    //关闭当前frame
                    parent.layer.close(index);
                });
            return false;

        })*/
    })
</script>
</html>